//package leetCode;
//
//public class RobotBoundedInCircle {
//    //    public boolean isRobotBounded(String instructions) {
////        int lCnt = 0, rCnt = 0;
////        for (int i = 0; i < instructions.length(); i++) {
////            if (instructions.charAt(i) == 'L') {
////                lCnt++;
////            } else if (instructions.charAt(i) == 'R') {
////                rCnt++;
////            }
////        }
////        return lCnt != 0 || rCnt != 0;
////    }
//    public boolean isRobotBounded(String instructions) {
//        StringBuilder stringBuilder=new StringBuilder(instructions);
//        for (int i = 0; i < 10; i++) {
//            stringBuilder.append(instructions);
//        }
//
//    }
//}
